<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@page import="org.edu.system.LogWriter" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>注销中...</title>
</head>
<body>
<%
	String id = (String) (session.getAttribute("UserName"));
	LogWriter.LogPrint("["+request.getRemoteAddr()+"] "+id+" 注销账户！");
	session.removeAttribute("UserName");
	response.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY);
	String newLocn = "./index.jsp";
	response.setHeader("Location",newLocn); 
%>
</body>
</html>